package kr.hkit.powerjava.chapter12;

class TV implements RemoteControl {
	public void turnOn() {
		System.out.println("TV On");
	}
	
	public void turnOff() {
		System.out.println("TV Off");
	}
}

class Car implements RemoteControl {
	public void turnOn() {
		System.out.println("Car on");
	}
	public void turnOff() {
		System.out.println("Car off");
	}
}

public interface RemoteControl {
	public abstract void turnOn();
	void turnOff();
	
}
